import App from './App'
import Vue from 'vue'

import store from './store'
import uView from "uview-ui";
import Util from './utils/util.js'

Vue.config.productionTip = false

Vue.prototype.$store = store
Vue.prototype.$util = Util;


import ImageUpload from "@/components/ImageUpload/ImageUpload"
import DictTag from "@/components/DictTag/DictTag"
import MyFooter from "@/components/MyFooter/MyFooter"
Vue.component('ImageUpload', ImageUpload)
Vue.component('DictTag', DictTag)
Vue.component('MyFooter', MyFooter)

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)

Vue.use(uView);

App.mpType = 'app'
const app = new Vue({
    ...App,
	store,
	el: '#app',
	render: h => h(App)
})

require('@/utils/request.js')(app)

app.$mount()


